package com.jy.api.dao;

import com.jy.api.domain.ProductMaterial;
import com.jy.api.domain.ProductMaterialItem;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface ProductMaterialItemDao  extends CrudRepository<ProductMaterialItem, Integer>, JpaSpecificationExecutor<ProductMaterialItem> {



    List<ProductMaterialItem>  findAllByProductMaterialId(long ProductMaterialId);




















    List<ProductMaterialItem> findAllByProductMaterialId(int id);




















}
